package com.lianjinsu.shop.core.mybatis;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

public interface AdvancedBaseMapper<MODEL> extends BaseMapper<MODEL> {

    int BATCH_SIZE = 1000;

    int insertBatchSomeColumn(@Param(value = "list") Collection<MODEL> modelCollection);
}
